how to adjust height of subplot using interactive method in matplotlib